package demospringbootstarter.service;


public class DemoService {
    public String sayWhat;
    public String toWho;

    public DemoService(String sayWhat,String toWho) {
        this.sayWhat = sayWhat;
        this.toWho = toWho;
    }

    public String sayHello() {
        return this.sayWhat + "！！！" + this.toWho;
    }
}
